﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using MergeAndExecute._0;
using System.IO;

namespace FilesMerger2._0
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            
            InitializeComponent();
        }

        private void fileToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }

        private void file2ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void connectionSettingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var settingsForm = new ConnectionSettingsForm();
            settingsForm.ShowDialog();
        }

        private void executeCompareToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var executeAndCompareForm = new ExecuteAndCompareForm();
            executeAndCompareForm.MdiParent = this;
            executeAndCompareForm.Show();
        }

        private void toolsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var mergeAndexecuteForm = new Form1();
            mergeAndexecuteForm.MdiParent = this;
            mergeAndexecuteForm.Show();
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}
